package com.qk.management.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.qk.domain.business.BusinessCountDO;
import com.qk.dto.business.BusinessHighSeasDTO;
import com.qk.dto.business.BusinessQueryDTO;
import com.qk.entity.Business;
import com.qk.vo.business.BusinessQueryVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 *
 * @author lyl
 * @created 2025/10/15 11:24
 * @description
 *
 */
@Mapper
public interface BusinessMapper extends BaseMapper<Business> {
    BusinessCountDO selectCountBusiness();

    Page<BusinessQueryVO> getListPage(@Param("page") Page<BusinessQueryVO> page, @Param("businessQueryDTO") BusinessQueryDTO businessQueryDTO);

    Page<Business> getHighSeasList(@Param("page") Page<Object> of,@Param("businessHighSeasDTO") BusinessHighSeasDTO businessHighSeasDTO);
}
